package com.yeskery.nut.web.demo.dto;

import com.yeskery.nut.annotation.api.ApiModel;
import com.yeskery.nut.annotation.api.ApiModelProperty;
import com.yeskery.nut.web.demo.domain.Order;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单dto
 * @author Yeskery
 * 2023/7/28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("订单dto")
public class OrderDto extends Order {

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickname;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String productName;
}
